<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta content="telephone=no,email=no,address=no" name="format-detection" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<meta name="msapplication-tap-highlight" content="no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="is_webp" content="yes" />
		<title>用户中心_{$web_name}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="Keywords" content="用户中心" />
		<meta name="Description" content="用户中心" />
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="__TMPL__Public/css/common.css" />
		<link rel="stylesheet" href="__TMPL__Public/css/user.css" />
		<link rel="stylesheet" href="__TMPL__Public/css/public.css" />
		<script type="text/javascript" src="/themes/wnsc_moblie/newMobile/User/js/area/jquery.min.js"></script>
		<script type="text/javascript" src="__TMPL__Public/js/common.js"></script>
		<link rel="stylesheet" type="text/css" href="/themes/wnsc_moblie/newMobile/Shop/css/color-style.css" />
	</head>

	<body>

		<body>

			<div class="member-top">
				<div class="header-r">
					<a href="{:U('user/info')}">
						<i class="iconfont"></i>
					</a>
				</div>
				<div class="member-info">
					<div class="user-avatar">

						<img src="{$userinfo['user_pic']}">

					</div>
					<div class="user-name">
						<span>
							{$userinfo['username']}
						</span>
					</div>
				</div>
				<div class="member-collect">
					<span>
						<a href="{:U('user/withdrawal')}">
							<em id="surplus_div">{$userinfo['money']}元</em>
							<p>账户余额</p>
						</a>
					</span>
					<span>
						<a href="{:U('user/daiyan')}">
							<em>{:number_format($daiyan_price,2)}元</em>
							<p>我的红包</p>
						</a>
					</span>
				</div>
			</div>
			<div class="user-order-box">
				<dl>
					<a href="{:U('user/order')}">
						<dt>
							<strong>全部订单</strong>
							<span>查看全部订单</span>
						</dt>
					</a>
				</dl>
				<ul>
					<li>
						<a href="{:U('user/order',array('status'=>1))}">
							<div class="user_order">
								<i class="iconfont"></i>
								<if condition="$wcount gt 0">
									<em class="bg-color">{$wcount}</em>
								</if>
							</div>
							<span>待付款</span>
						</a>
					</li>
					<li>
						<a href="{:U('user/order',array('status'=>2))}">
							<div class="user_order">
								<i class="iconfont"></i>
								<if condition="$dfcount gt 0">
									<em class="bg-color">{$dfcount}</em>
								</if>
							</div>
							<span>待发货</span>
						</a>
					</li>
					<li>
						<a href="{:U('user/order',array('status'=>3))}">
							<div class="user_order">
								<i class="iconfont"></i>
								<if condition="$dscount gt 0">
									<em class="bg-color">{$dscount}</em>
								</if>
							</div>
							<span>待收货</span>
						</a>
					</li>
					<li>
						<a href="{:U('user/order',array('status'=>4))}">
							<div class="user_order">
								<i class="iconfont"></i>
								<if condition="$dpcount gt 0">
									<em class="bg-color">{$dpcount}</em>
								</if>
							</div>
							<span>待评价</span>
						</a>
					</li>
					<li>
						<a href="{:U('user/back')}">
							<div class="user_order">
								<i class="iconfont"></i>
								<if condition="$thcount gt 0">
									<em class="bg-color">{$thcount}</em>
								</if>
							</div>
							<span>退换货</span>
						</a>
					</li>
				</ul>
			</div>
			<div class="uset-center-content">
				<a href="{:U('user/collect_shop')}">
					<em class="goods-collection-icon"></em>
					<dl>
						<dt>我的收藏</dt>
						<dd>商品收藏/店铺收藏</dd>
					</dl>
				</a>

				<a href="{:U('user/order_pt')}">
					<em class="groupon-icon"></em>
					<dl>
						<dt>我的拼团</dt>
						<dd></dd>
					</dl>
				</a>

				<a href="{:U('user/bduser')}">
					<em class="btn-recommend-icon"></em>
					<dl>
						<dt>关联账户</dt>
						<dd></dd>
					</dl>
				</a>

				<!--<a href="/user/exchange.html">
					<em class="exchange-icon"></em>
					<dl>
						<dt>我的积分</dt>
						<dd></dd>
					</dl>
				</a>
				-->
				<a href="/user/address.html">
					<em class="consignee-address-icon"></em>
					<dl class="border_bottm">
						<dt>收货地址</dt>
						<dd>添加/修改</dd>
					</dl>
				</a>
				<a href="/user/bonus.html">
					<em class="review-icon"></em>
					<dl class="border_bottm">
						<dt>优惠券</dt>
						<dd>查看</dd>
					</dl>
				</a>
				<a href="{:U('user/info')}">
					<em class="user-info-icon"></em>
					<dl>
						<dt>个人资料</dt>
						<dd>查看/修改</dd>
					</dl>
				</a>
				<a href="{:U('user/ali')}">
					<em class="ali-icon"></em>
					<dl>
						<dt>我的支付宝</dt>
						<dd>
							<php>
								if($userinfo['ali_number']){ echo "已绑定"; }else{ echo "未绑定"; }
							</php>
						</dd>
					</dl>
				</a>
				<a href="{:U('user/withdrawal')}">
					<em class="recharge-card-icon"></em>
					<dl>
						<dt>提现</dt>
						<dd></dd>
					</dl>
				</a>
				<a href="{:U('user/daiyan')}">
					<em class="btn-popularize-icon"></em>
					<dl>
						<dt>我的代言</dt>
						<dd></dd>
					</dl>
				</a>
				<a href="https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzI5Mjg3NDU1MA==&scene=124#wechat_redirect">
					<em class="weixin-icon"></em>
					<dl>
						<dt>微信公众号</dt>
						<dd>
							<php>
								if($userinfo['wx_is_sub']==1){ echo "已关注"; }else{ echo "未关注"; }
							</php>
						</dd>
					</dl>
				</a>
			</div>
			<!--<div class="uset-center-content">
				<a href="/distributor/share.html?uid=2234">
					<em class="btn-popularize-icon"></em>
					<dl>
						<dt>我的推广</dt>
						<dd></dd>
					</dl>
				</a>
				<a href="/user/recommend.html">
					<em class="btn-recommend-icon"></em>
					<dl>
						<dt>我的推荐</dt>
						<dd></dd>
					</dl>
				</a>
				<a href="/distributor/apply/check.html">
					<em class="btn-distribution-icon"></em>
					<dl>
						<dt>申请合伙人</dt>
						<dd></dd>
					</dl>
				</a>
			</div>-->
			<!--<div class="uset-center-content">

				<a href="/shop/apply.html">
					<em class="btn-shop-apply-icon"></em>
					<dl>
						<dt>商家入驻</dt>
					</dl>
				</a>

				<a href="/user/recommend-shop.html">
					<em class="btn-recommend-shop-icon"></em>
					<dl>
						<dt>推荐店铺</dt>
					</dl>
				</a>
			</div>-->
			<div class="uset-center-content">
				<a href="{:U('user/login_out')}">
					<em class="sign-off-icon"></em>
					<dl>
						<dt>注销登录</dt>
					</dl>
				</a>
			</div>
			<div class="blank-div"></div>
			<!-- 底部菜单 -->
			<!--底部菜单 start-->
			<div style="height: 48px; line-height: 48px; clear: both;"></div>
			<mtc_include file="Public:footer" />

		</body>

	</body>

</html>